package com.gxa.service.impl;

import com.gxa.mapper.CompleteMapper;
import com.gxa.pojo.Complete;
import com.gxa.service.CompleteService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;
@Service("completeService")
public class CompleteServiceImpl implements CompleteService {
    @Resource
    private CompleteMapper completeMapper=null;
    @Override
    public Complete findById(Integer id) {
        Complete byId = completeMapper.findById(id);
        return byId;
    }

    @Override
    public Boolean insetById(Complete complete) {
        boolean byId = completeMapper.insetById(complete);
        return byId;
    }
}
